Optimal. Leaf size=89 \[ \frac{b x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{b x^n}{a}\right )}{3 a (b c-a d)}-\frac{d x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{d x^n}{c}\right )}{3 c (b c-a d)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.143644, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{b x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{b x^n}{a}\right )}{3 a (b c-a d)}-\frac{d x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{d x^n}{c}\right )}{3 c (b c-a d)} \]
Antiderivative was successfully verified.
[In] Int[x^2/((a + b*x^n)*(c + d*x^n)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 18.8848, size = 60, normalized size = 0.67 \[ \frac{d x^{3}{{}_{2}F_{1}\left (\begin{matrix} 1, \frac{3}{n} \\ \frac{n + 3}{n} \end{matrix}\middle |{- \frac{d x^{n}}{c}} \right )}}{3 c \left (a d - b c\right )} - \frac{b x^{3}{{}_{2}F_{1}\left (\begin{matrix} 1, \frac{3}{n} \\ \frac{n + 3}{n} \end{matrix}\middle |{- \frac{b x^{n}}{a}} \right )}}{3 a \left (a d - b c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(a+b*x**n)/(c+d*x**n),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0879739, size = 78, normalized size = 0.88 \[ \frac{b c x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{b x^n}{a}\right )-a d x^3 \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{d x^n}{c}\right )}{3 a b c^2-3 a^2 c d} \]
Antiderivative was successfully verified.
[In] Integrate[x^2/((a + b*x^n)*(c + d*x^n)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.101, size = 0, normalized size = 0. \[ \int{\frac{{x}^{2}}{ \left ( a+b{x}^{n} \right ) \left ( c+d{x}^{n} \right ) }}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(a+b*x^n)/(c+d*x^n),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((b*x^n + a)*(d*x^n + c)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{2}}{b d x^{2 \, n} + a c +{\left (b c + a d\right )} x^{n}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((b*x^n + a)*(d*x^n + c)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\left (a + b x^{n}\right ) \left (c + d x^{n}\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(a+b*x**n)/(c+d*x**n),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((b*x^n + a)*(d*x^n + c)),x, algorithm="giac")
[Out]